package com.webBasic.mapper;

import com.webBasic.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * @author:zga
 * @date:2015/11/4
 */
public interface UserMapper {
    public void addNewUser(@Param("user")User user);

    public List<User> selectAllUser();

    public String selectUserByUserName(@Param("userName")String userName);

    public HashMap selectUserByUserNameAndPassword(@Param("user")User user);
}
